import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import MyReportlist from '../views/MyReportlist'


Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    //  我的报告列表
    {
        path: '/MyReportlist',
        name: 'MyReportlist',
        component: () => import('../views/MyReportlist.vue'),
    },
    // 我的报告详情
    {
        path: '/MyReportdetails',
        name: 'MyReportdetails',
        component: () => import('../views/MyReportdetails.vue'),
    },
    //我的报告全部项目
    {
        path: '/MyReportAllproject',
        name: 'MyReportAllproject',
        component: () => import('../views/MyReportAllproject.vue'),
    },
    {
        path: '/LocationDemo',
        name: 'LocationDemo',
        component: () => import('../views/LocationDemo.vue'),
    },
    {
        path: '/',
        name: 'Home',
        component: Home
    },
    
    {
        path: '/add_item',
        name: 'Add_item',
        component: () => import('../views/Add_item.vue'),
    },
    {
      path: '/add_people',
      name: 'Add_people',
      component: () => import('../views/Add_people.vue'),
  },
    {
        path: '/payment',
        name: 'Payment',
        component: () => import('../views/Payment.vue'),
    },
    {
        path: '/physical',
        name: 'physical',
        component: () => import('../views/physical.vue'),
    },
  //  我的报告列表
  // 首页
  {
    path: '/physical',
    name: 'physical',
    component: () => import(/* webpackChunkName: "about" */ '../views/physical')
  },
  // 套餐分类
  {
    path: '/classify',
    name: 'classify',
    component: () => import(/* webpackChunkName: "about" */ '../views/classify')
  },
  // 套餐列表
  {
    path: '/classify_list',
    name: 'classify_list',
    component: () => import(/* webpackChunkName: "about" */ '../views/classify_list')
  },
  //机构列表
  {
    path: '/institution_list',
    name: 'institution_list',
    component: () => import(/* webpackChunkName: "about" */ '../views/institution_list')
  },
  {
    path: '/institution_details',
    name: 'institution_details',
    component: () => import(/* webpackChunkName: "about" */ '../views/institution_details')
  },
  // details
  // 导航
  {
    path: '/chen',
    name: 'chen',
    component: () => import(/* webpackChunkName: "about" */ '../views/chen')
  },
  {
    path: '/MyReportlist',
    name: 'MyReportlist',
    component: MyReportlist
  },
  //套餐详情
{
  path: '/packageDetails',
  name: 'packageDetails',
  component: () => import( '../views/packageDetails.vue')},
{
    path:'/yuyue_Details',
    name:'yuyue_Details',
    component:()=>import('../views/yuyue_Details.vue'),
  },
  {
    path:'/add_item',
    name:'Add_item',
    component:()=>import('../views/Add_item.vue'),
  },
  {
    path:'/payment',
    name:'Payment',
    component:()=>import('../views/Payment.vue'),
},

{
  path:'/map',
    name:'map',
    component:()=>import('../views/map.vue'),
  },
  {
    path:'/yuyue_List',
      name:'yuyue_List',
      component:()=>import('../views/yuyue_List.vue'),
    },

  {
    path:'/payok_appointment',
    name:'Payok_Appointment',
    component:()=>import('../views/Payok_Appointment.vue'),
  },

]

const router = new VueRouter({
    // mode: 'history',
    // base: process.env.BASE_URL,
    routes
})

export default router
